﻿{include file="common/head"/}
<body>
<div  id="edit_pwd">
    {include file="common/loginHead"/}

    <div class="content transfer-content">
        <div class="transfer-box">
            <form class="layui-form up-down" onsubmit="return false">
                <input type="hidden" value="User.EditPwds" name="s"/>
                <input type="hidden" value="user/xigu/update_pwd_do" name="root"/>
                <input type="hidden" value="0" name="type"/>
                <div class="list-block">
                    <ul>
                        <li>
                            <div class="item-content">
                                <div class="item-title">原密码</div>
                                <div class="item-input">
                                    <input type="password" name="oldsafepassword" autocomplete="off" lay-verify="require|pass" placeholder="请输入原密码">
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-title">新密码</div>
                                <div class="item-input">
                                    <input type="password" name="newsafepassword" id="passwords"  autocomplete="off" lay-verify="require|pass" placeholder="请输入新密码">
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-title">确认新密码</div>
                                <div class="item-input">
                                    <input type="password" name="newsafepasswords" autocomplete="off" lay-verify="require|pas|lsdpass" placeholder="请输入新密码">
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <button class="click-btn" lay-submit lay-filter="BackForm">修改</button>
            </form>
        </div>
    </div>
    
</div>

<script type='text/javascript' src='/static/xigu/js/jquery-3.3.1.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7-swiper.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7-swipeout.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/cn.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/layui.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/basis.js' charset='utf-8'></script>

</body>
<script type="text/javascript" id="edit_pwd_script">
    $(function(){
        layui.loadPage({
            edit_pwd:function (id) {
                var get = $.Get(),t = get.type||0;
                var title = t==0?'修改登陆密码':'修改安全密码';

                $("#edit_pwd input[name=type]").val(t);
                this.renderHtml(id,{title:title});
                console.log(222);
            }
        });
    })

</script>
</html>
